package com.zhang.mapper;

import com.zhang.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.websocket.server.PathParam;
import java.util.List;

/**
 * @author ZhangJunqi
 * @Date 2022/3/2 -20:08
 */
@Mapper
public interface EmployeeMapper {
    List<Employee> getAllEmployee();

    int saveEmployee(Employee employee);

    int empUpdate(Employee employee);

    int deleteEmployeeById(@Param ("id") Integer id);
}
